package com.nzw.service.commodity;

import com.nzw.pojo.commodity.CommodityType;
import com.nzw.vo.common.HttpResult;

/**
 * Created by 18573 on 2018/9/14.
 */
public interface CommodityTypeService {

    CommodityType getCommodityTypeById(Long id);

    HttpResult addCommodityType(CommodityType commodityType);

    HttpResult deleteCommodityTypeById(Long id);

    HttpResult getCommodityTypeByParentId(Long parentId);

    HttpResult updateCommodityType(CommodityType type);



}
